package di.scanner.paser;

import org.eclipse.jdt.core.dom.ASTVisitor;
import org.eclipse.jdt.core.dom.MethodInvocation;
import org.eclipse.jdt.core.dom.MethodRef;

public class ASTMethodInvoiceVisitor  extends ASTVisitor{

    public boolean visit(MethodInvocation node) {

        System.out.println(node.getName()+";"+node.getExpression()+";"+node.getParent());
        return true;
    }

    public boolean visit(MethodRef node) {
        System.out.println(node.getName()+";"+node.getQualifier()+";"+node.getFlags());
        return false;

    }
}
